.text-field:error {
    -fx-background-color:
        red,
        -fx-control-inner-background,
        #FF450022,
        linear-gradient(from 0px 0px to 0px 5px, derive(-fx-control-inner-background, -9%), -fx-control-inner-background);}